package com.ims.service.impl;

import com.ims.entity.MediaAccountEntity;
import com.ims.entity.vo.MediaListVo;
import com.ims.repository.MediaAccountRepository;
import com.ims.service.MediaAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MediaAccountServiceImpl implements MediaAccountService {
    @Autowired
    private MediaAccountRepository repository;
    @Override
    public List<MediaAccountEntity> getList(Integer isLive) {
        return repository.getList( isLive);
    }

    @Override
    public List<MediaListVo> getMediaList(Integer isLive) {
        return repository.getMediaList(isLive);
    }
}
